/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f5f6fa;
    color: #2c3e50;
    line-height: 1.6;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 头部导航样式 */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.header-left span {
    margin-right: 25px;
}

.header-left a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-left a:hover {
    color: #3498db;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right span {
    margin-left: 20px;
    cursor: pointer;
}

/* 登录按钮样式 */
.login a {
    color: #3498db;
    text-decoration: none;
    margin: 0 10px;
}

.login img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    vertical-align: middle;
}

/* 模态框样式优化 */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    color: #2c3e50;
    font-size: 1.5rem;
}

.form-control {
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* 验证码图片样式 */
.auto-code-image {
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
}

/* 发送验证码按钮 */
.send {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.send:hover {
    background-color: #2980b9;
}

/* 注册链接样式 */
.register {
    color: #3498db;
    cursor: pointer;
    text-decoration: underline;
}

.register:hover {
    color: #2980b9;
} 